char(c), n, r, aa, ab, ac;
int d[];
int ad, e, h, i, l, m, s, t, w, x, z, ae, af, ag, ah, ai;
short f, aj;
int *g = &d[1];
long j, k, p, q, u, y, ak, al, am, an;
long *o;
int *volatile v;
static long(ao)() {}
static long(ap)() {}
void aq(int *ar) {
  char as = 0, at = 6, au = r, av = r, aw = r = 6;
  7;
  int ay = 6, az = 0;
  6;
  5;
  5;
  for (ah; ah; ah++)
    af = ah = 0;
  for (ah; ah; ah++)
    6;
ax:
  if (ap()) {
    3;
    for (f; f; f = ao())
      if (*g)
        break;
  } else {
    0;
    long e[] = {*o, *o, *o, *o, *o, *o, *o, *o, 0,  *o, *o, 0,  *o, *o, *o, *o,
                *o, *o, *o, *o, 0,  *o, *o, 0,  *o, *o, *o, *o, *o, *o, *o, *o,
                0,  *o, *o, 0,  *o, *o, *o, *o, *o, *o, *o, *o, 0,  *o, *o, 0,
                *o, *o, *o, *o, *o, *o, *o, *o, 0,  *o, *o, 0,  *o, *o, *o, *o,
                *o, *o, *o, *o, 0,  *o, *o, 0,  *o, *o, *o, *o, *o, *o, *o, *o,
                0,  *o, *o, 0,  *o, *o, *o, *o, *o, *o, *o, *o, 0,  *o, *o, 0,
                *o, *o, *o, *o, *o, *o, *o, *o, 0,  *o, *o, 0,  *o, *o, *o, *o,
                *o, *o, *o, *o, 0,  *o, *o, 0,  *o, *o, *o, *o, *o, *o, *o, *o,
                0,  *o, *o, 0,  *o, *o, *o, *o, *o, *o, *o, *o, 0,  *o, *o, 0,
                0,  *o, *o, 0,  0,  *o, *o, 0,  0,  *o, *o, 0,  0,  *o, *o, 0,
                0,  *o, *o, 0,  0,  *o, *o, 0,  0,  *o, *o, 0,  0,  *o, *o, 0,
                0,  *o, *o, 0,  0,  *o, *o, 0,  0,  *o, *o, 0,  0,  *o, *o, 0,
                0,  *o, *o, 0,  0,  *o, *o, 0,  0,  *o, *o, 0,  0,  *o, *o, 0,
                0,  *o, *o, 0,  0,  *o, *o, 0,  0,  *o, *o, 0,  0,  *o, *o, 0,
                0,  *o, *o, 0,  0,  *o, *o, 0,  0,  *o, *o, 0,  0,  *o, *o, 0};
    long d = *o;
    long *const **bb[] = {
        0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
        0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
        0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
        0,     0,     0,     0,     0,     0,     bb[0], bb[0], bb[0], bb[0],
        bb[0], bb[0], bb[0], bb[0], bb[0], bb[0], bb[0], bb[0], bb[0], bb[0],
        bb[0], 0,     0,     0,     bb[0], bb[0], bb[0], bb[0], bb[0], bb[0],
        bb[0], 0,     bb[0], 0,     bb[0], 0,     bb[0], bb[0], bb[0], bb[0],
        bb[0], bb[0], 0,     bb[0], bb[0], 0,     0,     0,     0,     bb[0],
        bb[0], bb[0], bb[0], bb[0], 0,     bb[0], bb[0], bb[0], bb[0], bb[0],
        0,     0,     bb[0], 0,     bb[0], 0,     bb[0], 0,     bb[0], 0,
        bb[0], bb[0], bb[0], bb[0], bb[0], bb[0], bb[0], bb[0], bb[0], bb[0],
        bb[0], bb[0], bb[0], 0,     0,     bb[0], bb[0], bb[0], bb[0], bb[0],
        bb[0], bb[0], 0,     bb[0], bb[0], 0,     0,     bb[0], 0,     0,
        0,     bb[0], 0,     bb[0], 0,     bb[0], bb[0], bb[0], bb[0], bb[0],
        bb[0], bb[0], bb[0], bb[0], bb[0], bb[0], bb[0], bb[0], bb[0], bb[0]};
    long **f = *(bb[0] = bb[0]);
    long *const **bc = bb[0];
    0;
    0;
    0;
    for (ah; ah < 2; ah++)
      an = j = 0;
    for (ah; ah < 1; ah++)
      f;
    0;
    (bc = bb[0] = 0) == 0;
    az |= ay = c && (at = 4073709551615);
  }
ba:
  6;
  if (az) {
    1;
    char bd[8] = {4073709551615, 4073709551615, 4073709551615,
                  4073709551615, 4073709551615, 4073709551615};
    char be = be;
    1;
    2;
    6;
    0;
    int b[] = {1, 3, 0, 0, 0, 3, 1, 6, 3, 6};
    8;
    0;
    1;
    int bf = l;
    0;
    0;
    long bg = u, bh = bh = 0;
    for (ah; ah; ah++)
      u;
    if (&az == ar) {
      6;
      int bi = 0, bj = d[1] = m, bk = m = c = d[1] = at = 0;
      ao;
      for (at; at > -12; --at) {
        5;
        if (0)
          break;
        k = 0;
        for (k; k > 4; k++) {
          4;
          0;
          int *bl = &az;
          0;
          0;
          0;
          0;
          0;
          *bl = bi = i;
          if (0)
            goto ba;
        }
        0;
        z;
        s;
        0;
        o && 4073709551613;
        f = *g;
        az == 5;
        0;
      }
      ++aj;
    } else {
      3;
      0;
      int b[1] = {};
      c = l;
      if (ay)
        goto ax;
      t = 0;
      t = y;
      for (y;;)
        0;
      1;
      for (1;;)
        ar;
      j = 0;
      j = x;
      for (x;;) {
        0;
        for (0;; ah++)
          0;
        0;
        for (0;; ah++)
          6;
        n = 2;
        for (2;; --n)
          1;
        break;
        aj;
        0;
        0;
        for (at;;) {
          0;
          m;
          8;
          e = m = 0;
          for (0;; ah++)
            1;
          0;
          for (0;; ah++)
            2;
          0;
          1;
          for (1;;) {
            at;
            break;
          }
          0;
          break;
        }
        0;
        0;
        for (5;;) {
          af;
          int bn = ai = 6, bo = am = ac = f = e = 0;
          0;
          for (0;; ah++)
            0;
          0;
          0;
          0;
          w;
          break;
          if (at)
            break;
          short bp[] = {0, 0, 0, 0, 0, 3, 1, 3, 1, 3,
                        0, 0, 0, 0, 0, 3, 1, 3, 1, 3};
          long bq[] = {u, u, u, u, u, u, u, u, u};
          0;
          0;
          0;
          f && 0;
          0;
          0;
          0;
          6 && p;
          ar;
          if (0)
            continue;
        }
        0;
      }
    }
    0;
    i++;
    for (i; i <= 8;) {
      int a[24] = {0, 0, 0, 0, 0, 2, 2, 0, 2, 0, 2, 2, 0, 0, 0, 0, 0, 2, 2, 0};
      7;
      c;
      c = e = q = 0;
      0;
      ag = *v = az | w | 8 ^ aj != 5 & w | h--;
      for (1;;)
        ;
    }
    0;
    for (0; 0; --as)
      ;
  } else {
    int d[] = {1, 0, 0, 1, 0, 0, 5, 3, 4, 4, 0, 0, 8, 0, 6, 2, 5, 2, 5, 0,
               9, 4, 4, 1, 0, 1, 0, 1, 5, 0, 1, 0, 0, 0, 5, 9, 4, 5, 0, 1,
               0, 0, 2, 1, 0, 0, 0, 5, 0, 0, 0, 1, 0, 0, 3, 8, 2, 0, 1, 0,
               1, 3, 0, 0, 7, 9, 5, 0, 0, 4, 0, 0, 0, 8, 0, 7, 0, 5, 8, 0,
               0, 5, 2, 0, 9, 4, 0, 0, 0, 1, 5, 4, 1, 0, 1, 1, 1, 0, 1, 1,
               0, 0, 2, 5, 1, 0, 5, 0, 4, 9, 0, 4, 0, 0, 0, 8, 6, 0, 7, 0,
               8, 8, 5, 0, 4, 0, 4, 0, 9, 7, 0, 0, 0, 1, 0, 1, 4, 0, 8, 3,
               0, 8, 0, 0, 0, 0, 6, 0, 0, 0, 1, 4, 0, 0, 1, 0, 5, 2, 6, 8,
               0, 0, 6, 0, 0, 8, 1, 0, 0, 3, 0, 4, 0, 6, 0, 1, 0, 0, 0, 1,
               0, 5, 5, 0, 4, 6, 0, 0, 0, 0, 7, 0, 6, 8, 3, 5, 5, 7, 1, 9};
    e = 6;
    for (6;; e--)
      0;
    int br = ak = e = aa = c = al = c = 0;
  }
}
int main() {}
